package com.qk.common.config;

/**
 * @author kaoM1Jy
 * @date 2025/10/14 21:14
 * @description:
 */
public class CurrentUserContextHolders {
     public static final ThreadLocal<Integer> USER_CONTEXT = new ThreadLocal<>();
     public static void set(Integer userId) {
         USER_CONTEXT.set(userId);
     }
     public static Integer get() {
         return USER_CONTEXT.get();
     }
     public static void remove() {
         USER_CONTEXT.remove();
     }
}
